﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNETVN.PORTAL.Components.UI;

namespace ASPNETVN.PORTAL.Components.Share.Controls
{
    public partial class CommentManager : ApproveItemControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack == false)
            {
                GridViewComment.DataSource = Comment.SelectCollectionAll(this.ModuleID).OrderBy(x => x.CreatedDate);
                GridViewComment.DataBind();
            }
        }
    }
}